.kpi-devired {
  position: absolute;
  top: 60px;
  right: 0;
  bottom: 5px;
  left: 10px;
  background-color: #fff;
  .bussiness-list {
    float: left;
    width: 320px;
    height: 100%;
    border-right: 1px solid #e4e7ed;
    background-color: #5973b2;
  }
  .el-collapse {
    height: 100%;
    color: #fff;
    background-color: #5973b2;
  }
  .el-collapse-item {
    height: 100%;
    .el-input {
      width: calc(100% - 30px);
      margin-left: 15px;
    }
  }
  .el-collapse-item__wrap {
    height: calc(100% - 48px);
  }
  .el-collapse-item__header {
    font-size: 15px;
    font-weight: bold;
    padding: 0 10px 0 20px;
    color: inherit;
    background-color: #6a86cc;
    border-color: #fff;
    svg {
      width: 25px;
      height: 25px;
      margin-right: 8px;
    }
  }
  .el-collapse-item__content {
    height: 100%;
    background-color: #f0f4f7;
    padding: 10px 0;
    line-height: 1;
  }
  .field-list {
    height: calc(100% - 30px);
    overflow-y: auto;
    li {
      height: 40px;
      line-height: 40px;
      padding: 0 20px;
      color: #455fbc;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      cursor: pointer;
      position: relative;
      &:hover {
        background-color: #c0d2f6;
      }
    }
    .list-handler {
      height: 40px;
      line-height: 40px;
      position: absolute;
      top: 0;
      right: 10px;
      .plus {
        display: inline-block;
        width: 18px;
        height: 18px;
        margin-top: -5px;
        border: 1px solid #5f8eec;
        color: #5f8eec;
        line-height: 15px;
        text-align: center;
        border-radius: 50%;
        vertical-align: middle;
        i {
          font-size: 12px;
          position: static;
        }
      }
      svg {
        width: 16px;
        height: 16px;
        color: #455fbc;
        margin: -5px 5px 0 10px;
        vertical-align: middle;
      }
    }
  }
  .no-record {
    text-align: center;
    img {
      margin-bottom: 10px;
    }
  }
  .devired-content {
    height: 100%;
    margin-left: 350px;
    padding-right: 10px;
    height: 100%;
    .header {
      height: 60px;
      overflow: hidden;
    }
    .factory-top {
      font-size: 17px;
      font-weight: bold;
      margin-top: 15px;
      svg {
        width: 30px;
        height: 30px;
        color: $theme-color;
        margin: -5px 5px 0 0;
        vertical-align: middle;
      }
    }
    .btns {
      text-align: right;
      .el-button {
        margin-top: 9px;
      }
      .el-button {
        font-size: 15px;
        color: #455fbc;
        background-color: transparent;
        border-color: transparent;
        svg {
          font-size: 20px;
          width: 20px;
          height: 20px;
          margin-right: 3px;
          margin-top: -5px;
          vertical-align: middle;
          // color: #455fbc;
        }
        & + .el-button {
          margin-left: 0;
        }
        &.disabled {
          color: #999;
        }
      }
      .el-input--prefix {
        .el-input__inner {
          height: 35px;
          color: #455fbc;
          border-color: #455fbc;
        }
        .el-input__icon {
          color: #455fbc;
        }
        .el-input__prefix,
        .el-input__suffix {
          top: -3px;
        }
      }
    }
  }
  .content {
    height: calc(100% - 60px);
    overflow-x: hidden;
    overflow-y: auto;
    .section-title {
      font-size: 18px;
      font-weight: bold;
      height: 80px;
      padding: 20px;
      line-height: 40px;
      color: #1e3592;
      background-color: #c0d2f6;
      border-radius: 5px;
      i {
        cursor: pointer;
      }
      span {
        font-size: 14px;
        font-weight: normal;
        color: #4a5593;
        margin-left: 10px;
      }
    }
    .section-content {
      padding: 20px;
      margin: 10px 0;
      border: 1px solid #ddd;
      border-radius: 2px;
      .el-row {
        overflow: hidden;
      }
      .list-wrap .el-row {
        overflow: visible;
      }
    }
    .result-title {
      margin-top: 10px;
    }
  }
  .source-item {
    width: 100%;
    height: 45px;
    margin-bottom: 20px;
    box-shadow: #eee 0 0 10px;
    position: relative;
    .source-title {
      font-weight: bold;
      width: 150px;
      padding-left: 50px;
      line-height: 45px;
      color: #fff;
      position: absolute;
      &:before {
        width: 10px;
        height: 10px;
        content: '';
        background-color: #eee9ff;
        border: 2px solid #cfc7ee;
        margin-top: -5px;
        position: absolute;
        top: 50%;
        left: 20px;
        border-radius: 50%;
      }
      &:after {
        width: 0;
        height: 0;
        content: '';
        margin-top: -10px;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        position: absolute;
        top: 50%;
        right: -10px;
      }
      &.linear-purpose:after {
        border-left: 10px solid #7c6bed;
      }
      &.linear-blue:after {
        border-left: 10px solid #635fd7;
      }
      &.linear-cyan:after {
        border-left: 10px solid #0696ec;
      }
      &.linear-red:after {
        border-left: 10px solid #c563ee;
      }
    }
    .source-content {
      line-height: 45px;
      padding: 0 30px 0 180px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      &.rela-content {
        padding-left: 195px;
      }
    }
    .el-select {
      width: 100%;
    }
    .el-select .el-input__inner,
    .el-input .el-input__inner {
      height: 45px;
      line-height: 45px;
      border: 0;
      background-color: transparent;
    }
  }
  .config-tips {
    width: 400px;
    height: 300px;
    color: #999;
    border: 2px dashed #c0d2f6;
    text-align: center;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    span {
      display: inline-block;
      width: 30px;
      height: 30px;
      line-height: 30px;
      border: 2px solid #999;
      text-align: center;
      margin-right: 10px;
      border-radius: 5px;
      margin: 100px 0 20px 0;
      i {
        font-size: 20px;
        font-weight: bold;
      }
    }
  }
  .list-wrap {
    padding: 20px;
    min-height: 350px;
    background-color: #f6f7f8;
    position: relative;
    .ul,
    .ol {
      padding-left: 100px;
      position: relative;
      &.space {
        padding-left: 100px;
      }
      .logical {
        width: 100px;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        &.space-logical {
          left: 100px;
        }
        .el-form-item {
          position: absolute;
          top: 50%;
          left: 15px;
          margin-top: -20px;
          z-index: 2;
        }
        .el-input__suffix {
          display: none;
        }
        .el-input__inner {
          width: 40px;
          height: 40px;
          border-radius: 50%;
          padding: 0 !important;
          text-align: center;
          color: #fff;
          background-color: #bf843e;
          cursor: pointer;
        }
        &:before {
          width: 60%;
          height: calc(50% - 30px);
          content: '';
          border-width: 3px;
          border-style: solid;
          border-color: transparent;
          border-top-color: #bf843e;
          border-left-color: #bf843e;
          position: absolute;
          top: 20px;
          bottom: 50%;
          right: calc(10% - 5px);
        }
        &:after {
          width: 60%;
          height: calc(50% - 30px);
          content: '';
          border-width: 3px;
          border-style: solid;
          border-color: transparent;
          border-bottom-color: #bf843e;
          border-left-color: #bf843e;
          position: absolute;
          top: calc(50% + 8px);
          bottom: 20px;
          right: calc(10% - 5px);
        }
        &.logical-or {
          &:before {
            border-top-color: #479fa3;
            border-left-color: #479fa3;
          }
          &:after {
            border-bottom-color: #479fa3;
            border-left-color: #479fa3;
          }
          .el-input__inner {
            background-color: #479fa3;
          }
        }
      }
    }
    .ul-wrap {
      margin: 5px;
      border: 1px solid #ddd;
      box-shadow: 1px 1px 5px #ddd;
    }
    .list-item {
      padding: 10px 50px 10px 10px;
      margin-bottom: 20px;
      border-radius: 5px;
      position: relative;
    }
    .item {
      height: 40px;
      line-height: 40px;
      color: #455fbc;
      background-color: #c0d2f6;
      border-radius: 5px;
    }
    .el-col-8 .item {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      cursor: move;
    }
    .el-button {
      color: #455fbc;
      background-color: #c0d2f6;
      border-color: #c0d2f6;
      position: absolute;
      right: 10px;
      top: 15px;
    }
    .el-form-item {
      .el-input__prefix,
      .el-input__suffix,
      .el-date-editor .el-range__icon,
      .el-select .el-input .el-select__caret {
        color: #455fbc;
      }
      .el-tag.el-tag--info {
        color: #4455bb;
        background-color: #e8f0ff;
      }
      .el-select .el-tag__close.el-icon-close {
        color: #fff;
        background-color: #97b5f3;
      }
      .el-input__inner,
      .el-range-editor .el-range-input,
      .el-select__input {
        color: #455fbc;
        background-color: #fff;
        border: 1px solid #c0d2f6;
        &::-webkit-input-placeholder {
          color: #455fbc;
        }
        &::-moz-placeholder {
          color: #455fbc;
        }
        &::-ms-input-placeholder {
          color: #455fbc;
        }
      }
      .el-select,
      .el-input-number,
      .el-date-editor {
        width: 100%;
        &.normal {
          width: 25%;
        }
      }
      .el-input-number .el-input__inner {
        padding: 0 15px;
        text-align: left;
      }
      .el-input-number__decrease,
      .el-input-number__increase {
        display: none;
      }
      .el-date-editor {
        height: auto;
        .el-range-input {
          color: #455fbc;
          border: 0;
        }
        .el-range-separator {
          color: #455fbc;
          width: 30px;
        }
      }
    }
    .factory-content-item {
      background-color: #f6f7f8;
    }
  }
}
